﻿using System;

namespace Cnblogs
{
    public class Constants
    {
        //pages
        public const string P_AboutPage = "/View/AboutPage.xaml";
        public const string P_SettingPage = "/View/SettingPage.xaml";
        public const string P_SendWeiboPage = "/View/SendWeiboPage.xaml";
        public const string P_LoginWeiboPage = "/View/LoginWeiboPage.xaml";
        public const string P_NewsBodyPage = "/View/NewsBodyPage.xaml";
        public const string P_BloggerPage = "/View/BloggerPage.xaml";
        public const string P_SearchPage = "/View/SearchPage.xaml";
        public const string P_PostBodyPage = "/View/PostBodyPage.xaml";
        public const string P_CommentsPage = "/View/CommentsPage.xaml";

        //languages
        public const string L_BindWeibo = "绑定微博";
        public const string L_UnBindWeibo = "解除绑定";
        public const string L_UnBindTip = "是否注销当前微博账号";
        public const string L_GettingData = "获取数据中...";
        public const string L_NoInternetAccess = "暂无网络，请稍微再试！";
        public const string L_SendingWeibo = "正在发送微博中....";
        public const string L_ShareNews = "分享博客园新闻：";
        public const string L_SharePost = "分享博客：";
        public const string L_WeiboSharePost = "#分享博客园好文一篇# ";
        public const string L_WeiboShareNews = "#分享博客园新闻# ";
        public const string L_ToggleOn = "已开启";
        public const string L_ToggleOff = "已关闭";

        //consts
        public const string CACHE_DIR_IMAGES = "Images";
        public const string NewsUrlPrefix = "http://news.cnblogs.com/n/{0}/";
        public const string ProductId = "d36d1702-8c1f-491a-a5b2-8dd9f8cfd4a6";

        //settings
        public const string S_IsEnableImage = "IsEnableImage";
        public const string S_IsDarkTheme = "IsDarkTheme";
        public const string S_PageCount = "PageCount";

        //directory
        public const string D_Data = "Data";

        public static string GetAppKey()
        {
            return "3173045152";
        }

        public static string GetAppKeySecret()
        {
            return "f463c50f48adb46853feaa1e924a52ed";
        }
    }
}
